package com.deer.wms.kuaidiniao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.deer.wms.kuaidiniao.dao.PrintParamMapper;
import com.deer.wms.kuaidiniao.model.PrintParam;
import com.deer.wms.kuaidiniao.service.PrintParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by ll on 2020/02/12.
 */
@Service
@Transactional
public class PrintParamServiceImpl extends ServiceImpl<PrintParamMapper, PrintParam> implements PrintParamService {

    @Autowired
    private PrintParamMapper printParamMapper;

    @Override
    public List<PrintParam> findMyConfig(Integer userId) {
        return printParamMapper.findMyConfig(userId);
    }
}
